// pages/detail/detail.js
Page({
  data: {
  id:'',
  price:'12.00',
  adress: { name: '王洪强', tel: '13594807017', info:'重庆市重庆辖区巴南区 鱼洞上城时代11栋11-3'},

  },
  detail:function(){
    let id=this.data.id;
    wx.navigateTo({
      url: '../detail/detail?id='+id,
    })
  },
  back: function () {
    wx.switchTab({
      url: '../index/index',
    })
  },
  share: function () {
    wx.navigateTo({
      url: '../pin/pin?share=1'
    })
  },
  onLoad: function (options) {
  
  },
  onReady: function () {
  
  }
})